package https.itmanager.com.springboot.service;

import https.itmanager.com.springboot.dao.domain.Authors;
import https.itmanager.com.springboot.dao.mapper.AuthorsMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AuthorsService {
    @Resource
    private AuthorsMapper authorsMapper;

    public List<Authors> findAuthors(){
        return authorsMapper.findAuthors();
    }
}
